def fib(n):
	a,b=1,1;
	for count in range(n):
		yield a;
		a,b=a+b,a;
a=fib(10);
for x in a:
	print(x,' ',end='');